import RouteView from "@/components/RouteView.vue";
const OrderRouter = {
    path: "order",
    name: "Order",
    meta: {
      title: "订单管理",
      icon: "el-icon-s-order"
    },
    component: RouteView,
    children: [{
        path: "",
        name: "OrderList",
        meta: {
          title: "订单列表"
        },
        component: () => import("@/views/Order/list/index.vue")
      },
      {
        path: "/order-details/:id",
        name: "orderDetails",
        hidden: true,
        meta: {
          title: "订单详情"
        },
        component: () => import("@/views/admin/RoleList.vue")
      }
    ]
  }

export default OrderRouter